<!DOCTYPE html>
<html>
    <head>
        <script src="https://unpkg.com/vue@next"></script>
    </head>
    <body>
        <div id="hello-v1" class="demo">
            {{message}}
            <p>使用双大括号的文本插值: {{ rawHtml }}</p>
    <p>使用 v-html 指令: <span v-html="rawHtml"></span></p>
        </div>
        <script>
            const hello_v1 = {
                data(){
                    return {
                        message:"jiang",
                        rawHtml: '<span style="color: red">这里会显示红色！</span>'
                    }
                }
            }

            Vue.createApp(hello_v1).mount('#hello-v1')
        </script>
    </body>
</html>